<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<body>
<?php 
echo "这是php标记风格";
?>

<script language="php">
echo "这样也行?";
</script>

<? echo "简化风格" ?>

<?php
$i = "内容";
echo <<<std
尼玛,\$i<p>
内容为$i
std;
?>

<?php 
$str1 = 1234567890;
$str2 = 0x1234567890;
$str3 = 01234567890;
$str4 = 01234567;

echo $str1.'</br>';
echo $str2.'</br>';
echo $str3.'</br>';
echo $str4.'</br>';

$f = pi();
echo $f.'<br/>';


echo $arr;

?>

</body>
</html>